<div class="wrap_content bg_none">
    <div class="navigator_content">
        <div class="navigator_ads">
            <img class="ml_100" src="<?php echo BASE_URL; ?>/themes/list/images/ads_logo.gif" />
        </div>
        <div class="navigator" style="padding-left: 0;">
            <h2>Findspec</h2>
            <a href="<?php echo BASE_URL; ?>">Trang chủ</a>
            <label class="m_0_5">&rarr;</label>
            <label>Triệu chứng</label>
            <label class="m_0_5">&rarr;</label>
            <label><?php echo $symptom_detail->name;?></label>
        </div>
    </div>

    <div class="wrap_content_left box_ct_list"  style="width: 74%;overflow:hidden; margin:0;">
        <div class="ct_left_list">
            <h2 class="cl_555 mb_5 size_16">Tiêu điểm</h2>
            <ul class="pd_b_10">
                <?php $count_hot = 0; ?>
                <?php foreach($hot_article as $hot_art): $count_hot++; ?>
                <li>
                    <?php if($count_hot == 1): ?>
                    <a class="cl_555" href="#" title="<?php echo $hot_art->title;?>"> <img src="<?php echo $hot_art->image;?>" alt="<?php echo $hot_art->title;?>" /></a>
                    <?php endif;?>
                    <p class="line_h_17 mb_10"><a class="cl_555" href="#" title="<?php echo $hot_art->title;?>"><?php echo $hot_art->title;?></a></p>
                </li>
                <?php endforeach; ?>
            </ul>

            <h2 class="cl_555 mb_5 size_16">Tin mới nhất</h2>
            <ul>
                <?php $count_new = 0; ?>
                <?php foreach($news_article as $new_art): $count_new++; ?>
                <li>
                    <?php if($count_new == 1): ?>
                    <a class="cl_555" href="#" title="<?php echo $new_art->title;?>"> <img src="<?php echo $new_art->image;?>" alt="<?php echo $new_art->title;?>" /></a>
                    <?php endif;?>
                    <p class="line_h_17 mb_10"><a class="cl_555" href="#" title="<?php echo $new_art->title;?>"><?php echo $new_art->title;?></a></p>
                </li>
                <?php endforeach; ?>
            </ul>
        </div>

        <div class="main_content_list mt_10">
            <h2 class="size_22"><?php echo $symptom_detail->name; ?></h2>
            <div class="brief_list_content bd_b_1">
                <div class="brief_text">
                    Được tạo bởi <b><?php echo $symptom_detail->username; ?></b>
                    <br>
                    Đăng lúc <b><?php echo $symptom_detail->create_date; ?></b>
                    <br>
                </div>
                <div class="brief_social">
                    <span class="share_fb"></span>
                    <span class="share_tt"></span>
                    <span class="share_g"></span>
                    <span class="print"></span>
                </div>
            </div>
            <div class="desc_list_content size_13">
                <?php echo $symptom_detail->description;?>
            </div>

            <?php if(isset($disease_relate)): ?>
            <div class="box_content_list">
                <h2 class="box_title_bg cl_555 mb_5 size_14">Bài viết đáng chú ý</h2>
                <ul class="main_content">
                    <?php foreach($disease_relate as $dis_r): ?>
                    <li>
                        <div class="content_img">
                            <a href="<?php echo $dis_r->href; ?>" title="<?php echo $dis_r->name; ?>"><img width="90px" src="<?php echo $dis_r->image; ?>"></a>
                        </div>
                        <div class="slide_content">
                            <p><a class="cl_222" href="<?php echo $dis_r->href; ?>" title="<?php echo $dis_r->name; ?>"><?php echo $dis_r->name; ?></a></p>
                            <p class="txt_11"><?php echo $dis_r->date; ?></p>
                        </div>
                    </li>
                    <?php endforeach; ?>
                </ul>
            </div>
            <?php endif; ?>

        </div>
        <div class="box_relate_list">
            <?php if(isset($symptom_relate)): ?>
            <div class="list_content_relate mr_40">
                <h2 class="cl_555">Bệnh lý liên quan</h2>
                <ul>
                    <?php foreach($disease_relate as $dis_r): ?>
                    <li>
                        <h3 class="mb_5"><a class="cl_555" href="<?php echo $dis_r->href; ?>" title="<?php echo $dis_r->name; ?>"><?php echo $dis_r->name; ?></a></h3>
                        <p class="line_h_17 mb_10"><?php echo sub_string($dis_r->short_description, 0, 120, '...'); ?></p>
                    </li>
                    <?php endforeach; ?>
                </ul>
            </div>
            <?php endif; ?>

            <?php if(isset($symptom_relate)): ?>
            <div class="list_content_relate">
                <h2 class="cl_555">Triệu chứng thường gặp</h2>
                <ul>
                    <?php foreach($symptom_relate as $symp): ?>
                    <li>
                        <h3 class="mb_5"><a class="cl_555" href="<?php echo $symp->href; ?>" title="<?php echo $symp->name; ?>"><?php echo $symp->name; ?></a></h3>
                        <p class="line_h_17 mb_10"><?php echo sub_string($symp->description, 0, 120, '...'); ?></p>
                    </li>
                    <?php endforeach; ?>
                </ul>
            </div>
            <?php endif; ?>
        </div>
    </div>

    <div class="wrap_content_right"  style="float: left;width: 26%; margin-top: 0;">
        <div class="box_ad_right">
            <p>Advertisement</p>
        </div>
        <div class="main_content_right content_list">
            <h2>Bạn nên xem</h2>
            <?php foreach($disease_new as $dis_dep): ?>
                <div class="content_right">
                    <a href="<?php echo $dis_dep->href;?>" title="<?php echo $dis_dep->name;?>"><img src="<?php echo $dis_dep->image;?>"></a>
                    <p>
                        <a href="<?php echo $dis_dep->href;?>" title="<?php echo $dis_dep->name;?>"><?php echo $dis_dep->name;?></a>
                        <br />
                        <span><?php echo $dis_dep->date;?></span>
                    </p>
                </div>
            <?php endforeach; ?>
        </div>


        <div class="main_content_right list_view">
            <h2 class="mb_0">Triệu chứng cần biết</h2>
            <ul>
                <?php foreach ($sym_new as $symp) : ?>
                <li>
                    <p><a class="cl_222" href="<?php echo $symp->href; ?>" title="<?php echo $symp->name; ?>"><?php echo $symp->name; ?></a></p>
                </li>
                <?php endforeach; ?>
            </ul>
        </div>
    </div>
</div>

<div class="wrap_relate_topic">
    <p class="size_12">Advertisement</p>
    <div class="box_relate">
        <span class="cl_c7">Relates Topics: </span>
        <a href="javascript:;void(0);">How To Lower Cholesterol</a>
        <a href="javascript:;void(0);">Type 2 Diabetes Diet</a>
        <a href="javascript:;void(0);">Triglyceride Diet</a>
    </div>
</div>
